import BasicLayout from '@/layouts/basic-layout'

const meta = {
  auth: true
}

const pre = 'dashboard-'

export default {
  path: '/sourcing',
  name: 'dashboard',
  redirect: {
    name: `${pre}todo-remind`
  },
  meta,
  component: BasicLayout,
  children: [
    {
      path: 'todo-remind',
      name: 'todoRemind',
      meta: {
        ...meta,
        title: '工作台'
      },
      component: () => import('@/pages/dashboard/todo-remind')
    },
    {
      path: 'todo-setting',
      name: 'todoSetting',
      meta: {
        ...meta,
        title: '工作台'
      },
      component: () => import('@/pages/dashboard/todo-remind/todo-setting')
    }
  ]
}
